// import axios from 'axios'

// 1、引入 mockjs
import Mock from 'mockjs';

// 2、引入json数据
import bannerList from './bannerList.json';
import floors from './floors.json';

// 3、配置mock服务器
Mock.mock('/mock/bannerlist', { code: 200, data: bannerList });
Mock.mock('/mock/floors', { code: 200, data: floors });

// 4、测试
// axios.get('/mock/bannerlist').then((res)=>console.log(res))